#coding:utf-8

from flask import Flask
from order import order

app = Flask(__name__)

#todo 路由实现另一个py文件的order函数被url装饰
app.route('/order')(order)


@app.route('/')
def index():
    # import order
    return 'index page'



if __name__ == '__main__':

    print(app.url_map)
    app.run(debug=True)

